
hdc shell mount -o remount,rw /
echo "通用配置文件"
hdc file send carol\ipsec.conf /data/service/el1/public/vpn
hdc file send carol\ipsec.secrets.conf /data/service/el1/public/vpn
hdc file send carol\strongswan.conf /data/service/el1/public/vpn

echo "rsa配置文件"
hdc shell mkdir -p /data/service/el1/public/vpn
hdc file send rsa_pem\strongswanCert.pem /data/service/el1/public/vpn

hdc shell mkdir -p /system/etc/strongswan/ipsec.d/certs
hdc shell mkdir -p /system/etc/strongswan/ipsec.d/private
hdc file send rsa_pem\carolCert.pem /system/etc/strongswan/ipsec.d/certs
hdc file send rsa_pem\carolKey.pem /system/etc/strongswan/ipsec.d/private

pause